﻿require.config
  deps: ['main']
  paths:
    # libraries
    libs:           '../assets/libs'
    jquery:         '../assets/libs/jquery/jquery.min'
    backbone:       '../assets/libs/backbone/backbone-min'
    underscore:     '../assets/libs/underscore/underscore-min'
    jquery_ui:      '../assets/libs/jquery/jquery-ui.min'
    leaflet:        '../assets/libs/leaflet/leaflet.min'
    text:           '../assets/libs/require/text'
    use:            '../assets/libs/require/use'
    # models
    photo:          './models/photo'
    # collections
    album:          './collections/album'
    # views
    photoView:      './views/photo'
    albumView:      './views/album'
    addView:        './views/addPhoto'
    # objects
    localStorage:  './storages/local_storage'
    # templates
    templates:      '../assets/templates'
  
  use:
    backbone:
      deps: ['use!underscore', 'jquery']
      attach: 'Backbone'
    underscore:
      attach: '_'
    jquery_ui:
      deps: ['use!jquery']